package com.pr.makfilm.service.impl;

import com.pr.makfilm.dao.IAbstractDao;
import com.pr.makfilm.dao.IReservationDao;
import com.pr.makfilm.domain.Reservation;
import com.pr.makfilm.service.IReservationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by parado on 11.03.14.
 */
@Service(ReservationServiceImpl.BEAN_NAME)
public class ReservationServiceImpl extends AbstractServiceImpl<Reservation> implements IReservationService
{
   public static final String BEAN_NAME = "reservationService";

   @Resource
   private IReservationDao reservationDao;

   @Override
   protected IAbstractDao<Reservation> getDao()
   {
      return reservationDao;
   }
}
